package com.ct.boot.launch.service;

import com.ct.boot.launch.dao.testdb.Article;
import com.ct.boot.launch.model.ArticleVO;

import java.util.List;

/**
 * @Auther: 1
 * @Date: 2020/6/15 11:19
 * @Description:
 */

public interface ArticleService {
    public String saveArticle(ArticleVO article);
    void deleteArticle(Long id);
    void updateArticle(ArticleVO article) throws Exception;
    ArticleVO getArticle(Long id);
    List<ArticleVO> getAll();
}
